<template>
<!--  布局容器-->
  <el-container>
<!--    头部-->
    <el-header style="width: auto;height: 5rem"><Header/></el-header>
    <el-container>
<!--      侧边栏-->
      <Aside/>
<!--      路由页面-->
      <router-view />
    </el-container>
  </el-container>
</template>

<script>
import Aside from "./Aside.vue";
import Header from "./Header.vue";
export default {
  name: "Layout",
  // 引入组件
  components: {
    Header,
    Aside
  }
}
</script>

<style scoped>

</style>